﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yto.Common.Configuration;

namespace Yto.AutoMapper.Extensions
{
    public static class AutoMapperConfigurationExtensions
    {
        public static IAutoMapperConfiguration MapperConfiguration(this IStartupConfiguration starupConfiguration)
        {
            return starupConfiguration.Get<IAutoMapperConfiguration>();
        }
    }
}
